package club.zhangliyuanblog.entity;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author liyuan.zhang
 * @date 2021/2/21 16:52
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel("文章实体")
public class Article {
    @ApiModelProperty("文章id")
    private String id;
    @ApiModelProperty("文章name")
    private String name;
    @ApiModelProperty("文章内容")
    private String context;
    @ApiModelProperty("文章创建时间")
    private Date createTime;
}
